import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'
// Bearer+eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTUzNjQ3MzQzMn0.R8EMoW3sM6oCqTs7M6aYE_KOi98lx8ktrLGn2ZRPnT6ABAf3giYR3iWxi2pEbMxnHNd6bLpM_HwCqHzn8D8zCw
export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
